package com.tec.security.utils.security.service;

import com.tec.security.utils.security.entity.UserInfo;
import com.tec.security.utils.security.entity.UserKey;
import com.baomidou.mybatisplus.extension.service.IService;
import com.tec.security.utils.response.Result;

/**
* @author LL318
* @description 针对表【user_key】的数据库操作Service
* @createDate 2023-11-21 21:56:03
*/
public interface UserKeyService extends IService<UserKey> {
    Result login(String username, String password, boolean remember);

    Result isLogin();

    Result doPasswordReset(String password,String email,String code);

    Result doUpdatePassword(String uuid, String password,String password_update);

    Result doLogout(String token);

    Result signup(UserInfo user);

    Result getUserInfo();
}
